/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.oper;

import java.util.Calendar;

/**
 * <p>Project: app2022 - M5
 * <p>Powered by webrx On 2022-01-06 14:48:00
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class M5 {
    public static void main(String[] args) {
        //分时问候
        var c = Calendar.getInstance();
        //System.out.println(c.get(Calendar.HOUR));//12 2
        //System.out.println(c.get(11));//24 /14
        var h = c.get(Calendar.HOUR_OF_DAY); //24小时 int

        //
        if (h >= 6 && h < 8) {
            System.out.println("早上好");
        } else if (h >= 8 && h < 12) {
            System.out.println("上午好");
        }

        System.out.println(0b0100);

    }
}
